<template>
	<div>
		<van-swipe :autoplay="1000" lazy-render>
			<van-swipe-item v-for="image in images" :key="image">
				<img :src="image" style="width: 100%; height: 200px;"  />
			</van-swipe-item>
		</van-swipe>
	</div>
</template>
<script setup>
// 利用defineProps进行组件传参
import { defineProps } from 'vue';
const props = defineProps({
	images:{
		type:Array,
		default:()=>[]
	}
})
</script>

<style lang="scss" scoped>
</style>